

<?php switch ($model->check) {
    case 0:
        echo $this->renderPartial('checkStore', array('model'=>$model));
        
         break;
     case 1:
         echo $this->renderPartial('Store', array('model'=>$model));
         break;
     case 2:
         echo $this->renderPartial('_form', array('model'=>$model));
         break;
} ?>